From: IOhannes m zmölnig Date: Thu, 7 Apr 2016 18:20:59 +0000 (+0200) Subject: Clamped audio-plugin defines X-Git-Tag: archive/raspbian/5.4.5_ds0-1+rpi1~1^2~244 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=0f239e2c4d5941b1d738611f256954e02ba22029;p=juce.git Clamped audio-plugin defines --- diff --git a/debian/patches/debian_fixed-defines.patch b/debian/patches/debian_fixed-defines.patch index 974b9199..ee387871 100644 --- a/debian/patches/debian_fixed-defines.patch +++ b/debian/patches/debian_fixed-defines.patch @@ -2,10 +2,12 @@ Description: clamp a few defines to fixed values upstream allows to make Debug and Release builds; and Release builds with some debugging options on. our libjuce.so doesn't support so many configurations, so we disable a few. + . + Also on Debian we only currently only support a single plugin-type: LV2 Author: IOhannes m zmölnig Origin: Debian Forwarded: not-needed -Last-Update: 2016-02-10 +Last-Update: 2016-04-07 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- juce.orig/modules/juce_core/juce_core.h @@ -43,3 +45,56 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ /** Config: JUCE_FORCE_DEBUG Normally, JUCE_DEBUG is set to 1 or 0 based on compiler and project settings, +--- juce.orig/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h ++++ juce/modules/juce_audio_plugin_client/utility/juce_CheckSettingMacros.h +@@ -22,6 +22,42 @@ + ============================================================================== + */ + ++/* Debian specific overrides */ ++#if JucePlugin_Build_LV2 && ! defined (JucePlugin_LV2URI) ++# warning JUCE/Debian using default LV2URI ++# define JucePlugin_LV2URI JucePlugin_Name ++#endif ++ ++#if JucePlugin_Build_VST ++# warning JUCE/Debian disabled VST support ++# undef JucePlugin_Build_VST ++# define JucePlugin_Build_VST 0 ++#endif ++ ++#if JucePlugin_Build_VST3 ++# warning JUCE/Debian disabled VST3 support ++# undef JucePlugin_Build_VST3 ++# define JucePlugin_Build_VST3 0 ++#endif ++ ++#if JucePlugin_Build_AU ++# warning JUCE/Debian disabled AU support ++# undef JucePlugin_Build_AU ++# define JucePlugin_Build_AU 0 ++#endif ++ ++#if JucePlugin_Build_RTAS ++# warning JUCE/Debian disabled RTAS support ++# undef JucePlugin_Build_RTAS ++# define JucePlugin_Build_RTAS 0 ++#endif ++ ++#if JucePlugin_Build_AAX ++# warning JUCE/Debian disabled AAX support ++# undef JucePlugin_Build_AAX ++# define JucePlugin_Build_AAX 0 ++#endif ++ + // The following checks should cause a compile error if you've forgotten to + // define all your plugin settings properly.. + +@@ -31,6 +67,7 @@ + #error "You need to enable at least one plugin format!" + #endif + ++ + #ifndef JucePlugin_IsSynth + #error "You need to define the JucePlugin_IsSynth value!" + #endif